package com.puppet.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.puppet.pojo.BookType;
import com.puppet.pojo.vo.BookTypeVO;
import com.puppet.service.BookTypeService;
import com.puppet.mapper.BookTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 长乐
* @description 针对表【t_book_type】的数据库操作Service实现
* @createDate 2025-03-27 14:34:19
*/
@Service
public class BookTypeServiceImpl extends ServiceImpl<BookTypeMapper, BookType>
    implements BookTypeService{
    @Autowired
    private BookTypeMapper bookTypeMapper;
    @Override
    public List<BookTypeVO> getBookTypeNameAndId() {
        return bookTypeMapper.getBookTypeNameAndId();
    }
}




